home *** CD-ROM | disk | FTP | other *** search
- .geometry "version 0.1";
- v1 = .free(-0.526676, -0.502052, "1");
- v2 = .free(-0.080711, 0.417237, "2");
- v3 = .free(0.458276, -0.578659, "3");
- l1 = .l.vv(v1, v2);
- l2 = .l.vv(v2, v3);
- l3 = .l.vv(v3, v1);
- l4 = .l.vlperp(v2, l3, .red, .longline);
- l5 = .l.vlperp(v3, l1, .red, .longline);
- l6 = .l.vlperp(v1, l2, .red, .longline);
- v4 = .v.ll(l1, l5, .red);
- v5 = .v.ll(l2, l6, .red);
- v6 = .v.ll(l3, l4, .red);
- v7 = .v.ll(l6, l4, .red);
- v8 = .v.vvmid(v7, v1, .green);
- v9 = .v.vvmid(v7, v2, .green);
- v10 = .v.vvmid(v7, v3, .green);
- v11 = .v.vvmid(v1, v2, .yellow);
- v12 = .v.vvmid(v2, v3, .yellow);
- v13 = .v.vvmid(v3, v1, .yellow);
- c1 = .c.vvv(v10, v9, v8, .magenta);
- .text("The Nine Point Circle:");
- .text("");
- .text("Given an arbitrary triangle 123, the feet of the altitudes");
- .text("(in red), the midpoints of the sides (in yellow), and the");
- .text("green points that are the midpoints between the intersection");
- .text("of the altitudes and the vertices of the triangle all lie on");
- .text("the same circle. Move points 1, 2, and 3 to try different");
- .text("triangles.");
-